<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/contacts.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:18:21 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>H+ 后台主题UI框架 - 联系人</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="favicon.ico"> <link href="/static/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="/static/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <link href="/static/css/animate.min.css" rel="stylesheet">
    <link href="/static/css/style.min862f.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <#list activityList as activity>
        <div class="col-sm-4" onclick="location.href='/activityInfo?aid=${activity.aid}'">
            <div class="contact-box">
                <a href="javascript:;">
                    <div class="col-sm-4">
                        <div class="text-center">
                            <img alt="image" class="img-circle m-t-xs img-responsive" src="/static/img/a2.jpg">
                            <div class="m-t-xs font-bold">CTO</div>
                        </div>
                    </div>
                    <div class="col-sm-8">
                        <h3><strong>${activity.aname}</strong>
                            <#if activity.join>
                                <span class="label label-primary sign" url="/exitActivity?aid=${activity.aid}" style="float: right;">取消报名</span>
                            <#else >
                                <span class="label label-primary sign" url="/joinActivity?aid=${activity.aid}" style="float: right;">报名</span>
                            </#if>
                        </h3>
                        <p><i class="fa fa-map-marker"></i> ${activity.member_count}人已报名</p>
                        <address>
                            <br>
                            <strong>${activity.aclub.cname}</strong><br>
                            发起人:${activity.initiator.uname}<br>
                            <abbr title="Phone">QQ:</abbr> ${activity.initiator.qq}
                        </address>
                    </div>
                    <div class="clearfix"></div>
                </a>
            </div>
        </div>
        </#list>
    </div>
</div>
<script src="/static/js/jquery.min.js?v=2.1.4"></script>
<script src="/static/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/static/js/content.min.js?v=1.0.0"></script>
<script>
    $(document).ready(function(){$(".contact-box").each(function(){animationHover(this,"pulse")})});
    $(".sign").click(function(e){
        console.log($(this).attr("url"))
        let url = $(this).attr("url")
        e.stopPropagation();
        $.ajax({
            url:url,
            success:function(res){
                alert(res.msg)
                location.reload()
            },
            fail:function(res){
                alert("失败！")
                location.reload()
            }
        })
    })
</script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/contacts.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:18:21 GMT -->
</html>
